package com.orilx.lowtea.comment

import org.springframework.stereotype.Service


@Service
class CommentService {

    /**
     * 添加评论
     */
    fun createComment(userId: String, articleSlug: String, payload: CommentCreateRequest.Comment): CommentModel {
        TODO()
    }

    /**
     * 删除评论
     */
    fun deleteComment(userId: String, postId: String) {

    }

    /**
     * 获取评论列表
     */
    fun listComment(userId: String?, slug: String): List<CommentModel> {
        TODO()
    }
}